    function login(){
      	  var dataform=$("#loginForm").serialize();
      	  $.ajax({  
      		  type: "POST",
      		  url: "pc/admin/login.do",
      		  data:dataform,
      		  dataType : "json",
      		  async:true,
      		  success: function(data){
      			  if(data.type==1){
      				layer.msg(data.msg);
      				window.location.href="pc/admin/index.do";
      			  }else{
      				layer.msg(data.msg);
      			  }
      		  },
      	    error:function(e) {
      	    }
      	});
         /*   */
    }